﻿using System.Reflection;

namespace Borg
{
    public class TaskEventArgs : SystemEventArgs
    {
        private readonly ITask _task;

        public ITask Task
        {
            get { return _task; }
        }

        public TaskEventArgs(ITask task, Assembly initiator)
            : base(initiator)
        {
            _task = task;
        }
    }

    public delegate void TaskEventHandler(object sender, TaskEventArgs args);
}

